# -*- coding: utf-8 -*-
import unittest
import copy
import main.word_index


class TestWordIndex(unittest.TestCase):

    temp_path = "/mnt/D/Ubuntu/PycharmProjects/nlp_study_py/nlpTools/resource/test"
    """
    unit test for word_index.py
    """

    def test_create_input_output(self):
        r = main.word_index.create_input_output(self.temp_path)
        print(len(list(r)))
        for e in r:
            print(e)

    def test2(self):
        print("test2")